<?php
/**
 * Author: Shadow Themes
 * Author URL: http://shadow-themes.com
 */
if (!defined('ABSPATH')) exit;

$copyright_position = Ashade_Core::get_mod('ashade-copyright-pos');
$socials_position = Ashade_Core::get_mod('ashade-socials-pos');
$socials_style = Ashade_Core::get_mod('ashade-socials-style');
?>
<footer id="ashade-footer"
        class="ashade-copyright--<?php echo esc_attr($copyright_position); ?> ashade-socials--<?php echo esc_attr($socials_position); ?> ashade-socials-state--<?php echo(esc_attr(Ashade_Core::get_mod('ashade-socials-state')) ? 'yes' : 'no'); ?>">
    <div class="ashade-footer-inner">
        <?php if (Ashade_Core::get_mod('ashade-socials-state') == true) { ?>
            <div class="ashade-footer__socials">
                <ul class="ashade-socials ashade-socials--<?php echo esc_attr($socials_style); ?>">
                    <?php
                    $target = Ashade_Core::get_mod('ashade-socials-target') ? '_blank' : '_self';
                    //QQ
                    if (!empty(Ashade_Core::get_mod('ashade-socials-facebook-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--facebook" href="' . Ashade_Core::get_mod('ashade-socials-facebook-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-facebook-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
                                    <path d="M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //wechat
                    if (!empty(Ashade_Core::get_mod('ashade-socials-twitter-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--twitter" href="' . Ashade_Core::get_mod('ashade-socials-twitter-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-twitter-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path d="M682.409135 315.751361c11.047614 0 21.978571 0.811482 32.821523 2.01796-29.490661-137.322575-176.304402-239.35132-343.883071-239.35132-187.352015 0-340.821339 127.703497-340.821339 289.864784 0 93.603865 51.058886 170.46951 136.381134 230.087329l-34.088376 102.528118 119.145587-59.747779c42.632983 8.438183 76.839039 17.114796 119.384018 17.114796 10.694573 0 21.300119-0.528026 31.816636-1.354857-6.658653-22.786982-10.516518-46.653553-10.516518-71.417563C392.646682 436.592566 520.513908 315.751361 682.409135 315.751361zM499.153414 223.342718c25.662473 0 42.662659 16.882506 42.662659 42.529629 0 25.544793-17.000186 42.662659-42.662659 42.662659-25.544793 0-51.176566-17.117866-51.176566-42.662659C447.977871 240.225223 473.609645 223.342718 499.153414 223.342718zM260.625856 308.535005c-25.541723 0-51.321876-17.117866-51.321876-42.662659 0-25.647123 25.780153-42.529629 51.321876-42.529629 25.543769 0 42.544979 16.882506 42.544979 42.529629C303.169811 291.417139 286.169625 308.535005 260.625856 308.535005zM993.473753 581.399603c0-136.263453-136.353504-247.335155-289.497417-247.335155-162.160263 0-289.880133 111.071701-289.880133 247.335155 0 136.498814 127.718847 247.335155 289.880133 247.335155 33.94102 0 68.173682-8.558933 102.263082-17.10354l93.483114 51.191916-25.631774-85.173868C942.502871 726.32432 993.473753 658.265248 993.473753 581.399603zM609.989755 538.752294c-16.97051 0-34.088376-16.882506-34.088376-34.103726 0-16.98279 17.117866-34.085306 34.088376-34.085306 25.780153 0 42.662659 17.10354 42.662659 34.085306C652.652414 521.869788 635.769908 538.752294 609.989755 538.752294zM797.460474 538.752294c-16.85283 0-33.853016-16.882506-33.853016-34.103726 0-16.98279 17.000186-34.085306 33.853016-34.085306 25.543769 0 42.659589 17.10354 42.659589 34.085306C840.120063 521.869788 823.004243 538.752294 797.460474 538.752294z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //alipay
                    if (!empty(Ashade_Core::get_mod('ashade-socials-linkedin-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--linkedin" href="' . Ashade_Core::get_mod('ashade-socials-linkedin-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-linkedin-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path id="alipay-square" fill="#000000"
                                        d="M860.164096 0C950.276096 0 1024 73.878528 1024 164.169728V695.66464s-32.766976-4.105216-180.219904-53.352448c-40.964096-14.36672-96.258048-34.890752-157.696-57.46176 36.862976-63.61088 65.529856-137.489408 86.011904-215.468032H569.344V297.55392h247.809024V256.512h-247.808V135.440384H468.992c-18.429952 0-18.429952 18.465792-18.429952 18.465792v104.659968h-249.856v41.04192h249.856v69.771264H243.712v41.039872h401.410048c-14.338048 51.305472-34.813952 98.501632-57.341952 141.596672C458.754048 508.919808 319.485952 474.039296 231.424 496.60928c-55.299072 14.3616-92.163072 38.987776-112.642048 63.614976C22.526976 677.19168 92.157952 855.72608 294.912 855.72608c120.832 0 237.565952-67.718144 327.677952-178.5344C757.76 742.8608 1024 853.67808 1024 853.67808v6.15424c0 90.2912-73.725952 164.16768-163.835904 164.16768H163.84C73.728 1024 0 950.12352 0 859.83232V164.170752C0 73.878528 73.728 0 163.84 0h696.324096zM249.853952 556.120064C344.067072 545.860608 432.128 582.79936 536.578048 634.102784c-75.776 94.39232-167.936 153.9072-260.097024 153.9072-159.746048 0-206.850048-125.17376-126.976-194.952192 26.620928-22.573056 73.728-34.881536 100.348928-36.937728z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //weibo
                    if (!empty(Ashade_Core::get_mod('ashade-socials-instagram-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--instagram" href="' . Ashade_Core::get_mod('ashade-socials-instagram-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-instagram-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                      <path d="M385.714286 733.714286q12-19.428571 6.285714-39.428572t-25.714286-28.571428q-19.428571-8-41.714285-0.571429t-34.285715 26.285714q-12.571429 19.428571-7.428571 39.142858t24.571428 28.857142 42.571429 1.428572T385.714286 733.714286z m53.714285-69.142857q4.571429-7.428571 2-15.142858T431.428571 638.857143q-8-2.857143-16.285714 0.285714T402.857143 649.714286q-9.714286 17.714286 7.428571 25.714285 8 2.857143 16.571429-0.285714t12.571428-10.571428z m99.428572 61.142857q-25.714286 58.285714-90.285714 85.714285t-128 6.857143q-61.142857-19.428571-84.285715-72.285714T240 638.857143q26.857143-53.142857 86.571429-79.428572T446.857143 548.571429q63.428571 16.571429 90.571428 68.285714T538.857143 725.714286z m178.285714-91.428572q-5.142857-54.857143-50.857143-97.142857T547.142857 474.857143 390.285714 462.857143q-127.428571 13.142857-211.142857 80.857143T103.428571 694.857143q5.142857 54.857143 50.857143 97.142857t119.142857 62.285714 156.857143 12q127.428571-13.142857 211.142857-80.857143T717.142857 634.285714z m176 2.285715q0 38.857143-21.142857 79.714285t-62.285714 78.285715-96.285715 67.142857-129.142857 47.428571-154.571428 17.714286-157.142857-19.142857-137.428572-53.142857-98-86.285715T0 654.285714q0-65.714286 39.714286-140T152.571429 366.857143q96.571429-96.571429 195.142857-134.857143t140.857143 4q37.142857 36.571429 11.428571 119.428571-2.285714 8-0.571429 11.428572t5.714286 4 8.285714-0.285714T521.142857 368.571429l3.428572-1.142858q79.428571-33.714286 140.571428-33.714285t87.428572 34.857143q25.714286 36 0 101.714285-1.142857 7.428571-2.571429 11.428572t2.571429 7.142857 6.857142 4.285714 9.714286 3.428572q32.571429 10.285714 58.857143 26.857142t45.714286 46.571429 19.428571 66.571429z m-42.285714-356.571429q24 26.857143 31.142857 62T878.285714 409.142857q-4.571429 13.142857-16.857143 19.428572t-25.428571 2.285714q-13.142857-4.571429-19.428571-16.857143t-2.285715-25.428571q11.428571-36-13.714285-63.428572t-61.142858-20q-13.714286 2.857143-25.714285-4.571428t-14.285715-21.142858q-2.857143-13.714286 4.571429-25.428571t21.142857-14.571429q34.285714-7.428571 68 3.142858t57.714286 37.428571z m103.428571-93.142857q49.714286 54.857143 64.285715 127.142857T1010.857143 452q-5.142857 15.428571-19.428572 22.857143t-29.714285 2.285714-22.857143-19.428571-2.857143-29.714286q16-46.857143 5.714286-98.285714t-45.714286-90.285715q-35.428571-39.428571-84.571429-54.571428t-98.857142-4.857143q-16 3.428571-29.714286-5.428571t-17.142857-24.857143 5.428571-29.428572T696 103.428571q70.285714-14.857143 139.428571 6.571429T954.285714 186.857143z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //email
                    if (!empty(Ashade_Core::get_mod('ashade-socials-youtube-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--youtube" href="' . Ashade_Core::get_mod('ashade-socials-youtube-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-youtube-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                      <path d="M628.992 607.850667c-57.749333 46.272-93.781333 69.226667-129.728 69.226667-34.517333 0-69.376-21.504-123.285333-63.509333L55.082667 895.957333l903.701333 0L632.661333 605.098667C631.466667 605.973333 630.122667 607.061333 628.992 607.850667zM248.405333 514.858667C172.224 456.106667 84.352 388.117333 0 321.429333L0 853.76c0 1.706667 0.810667 3.136 0.981333 4.714667l323.52-284.714667C301.056 555.456 275.904 536.106667 248.405333 514.858667zM1021.482667 866.133333C1022.784 862.272 1024 858.218667 1024 853.76L1024 298.837333c-101.269333 78.762667-247.829333 192.917333-340.394667 265.962667L1021.482667 866.133333zM960 128.021333 64 128.021333c-23.36 0-64 40.682667-64 64l0 50.432c94.378667 75.136 196.885333 154.218667 283.733333 221.205333 47.893333 36.970667 90.816 70.186667 124.693333 96.64 91.306667 71.616 91.306667 71.616 184.512-2.901333C677.226667 490.026667 904 313.557333 1024 220.224L1024 192.085333C1024 168.64 983.381333 128.021333 960 128.021333z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //gitee
                    if (!empty(Ashade_Core::get_mod('ashade-socials-pinterest-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--pinterest" href="' . Ashade_Core::get_mod('ashade-socials-pinterest-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-pinterest-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
                                     width="31.457px" height="31.457px" viewBox="0 0 31.457 31.457" style="enable-background:new 0 0 31.457 31.457;"
                                     xml:space="preserve">
                                        <path d="M17.199,0c-0.664,0-1.233,0.252-1.705,0.757C15.024,1.261,14.79,1.87,14.79,2.581c0,0.688,0.236,1.285,0.705,1.79
                                            c0.471,0.504,1.039,0.757,1.705,0.757c0.642,0,1.199-0.252,1.67-0.757c0.47-0.505,0.705-1.102,0.705-1.79
                                            c0-0.711-0.235-1.319-0.705-1.824C18.398,0.252,17.841,0,17.199,0z"/>
                                    <path d="M15.005,7.674c-1.348,0.526-2.603,0.793-3.681,0.793c-0.962-0.551-1.96-0.826-3.084-0.826
                                            c-1.561,0-2.901,0.516-4.026,1.548c-1.17,1.102-1.757,2.479-1.757,4.13c0,1.102,0.318,2.133,0.963,3.097
                                            c0.573,0.895,1.173,1.469,1.958,1.721v0.069c-0.785,0.321-1.134,1.124-1.134,2.41c0,0.987,0.349,1.721,1.134,2.202v0.07
                                            c-2.17,0.709-3.163,2.029-3.163,3.957c0,1.676,0.729,2.902,2.153,3.682c1.123,0.619,2.567,0.93,4.311,0.93
                                            c4.244,0,6.371-1.777,6.371-5.335c0-2.226-1.638-3.591-4.919-4.097c-0.759-0.114-1.329-0.389-1.72-0.825
                                            c-0.299-0.3-0.445-0.597-0.445-0.896c0-0.85,0.458-1.343,1.377-1.479c1.398-0.207,2.539-0.854,3.425-1.944
                                            c0.882-1.09,1.324-2.37,1.324-3.838c0-0.458-0.139-0.952-0.321-1.479c0.541-0.126,0.931-0.24,1.234-0.347v12.102h4.155V6.953
                                            h-4.155V7.674z M8.619,24.814c1.928,0,2.891,0.586,2.891,1.754c0,1.24-0.883,1.859-2.65,1.859c-2.019,0-3.027-0.597-3.027-1.789
                                            C5.831,25.423,6.761,24.814,8.619,24.814z M8.378,15.729c-1.445,0-2.168-0.792-2.168-2.375c0-1.698,0.723-2.547,2.168-2.547
                                            c0.689,0,1.229,0.264,1.617,0.792c0.321,0.481,0.481,1.055,0.481,1.721C10.477,14.926,9.778,15.729,8.378,15.729z"/>
                                    <path d="M27.322,19.79c-1.01,0-1.508-0.769-1.508-2.306v-6.07h3.176V7.619H25.81c-0.012-0.5-0.04-1.651-0.06-2.191h-3.709v2.191
                                            h-2.049v3.794h2.049v5.897c0,1.928,0.242,3.34,0.727,4.233c0.643,1.194,1.77,1.79,3.443,1.79c1.193,0,2.244-0.229,3.031-0.688
                                            v-3.441C28.615,19.596,28.033,19.79,27.322,19.79z"/>
                                </svg>
';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //baidu
                    if (!empty(Ashade_Core::get_mod('ashade-socials-tumblr-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--tumblr" href="' . Ashade_Core::get_mod('ashade-socials-tumblr-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-tumblr-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path d="M370.21696 39.38304c-11.554133 4.201813-29.40928 16.807253-40.43776 28.883627-26.781013 29.93152-38.331733 66.167467-37.809493 118.678187 0 35.710293 2.628267 47.261013 16.807253 77.195947 29.93152 65.11616 89.268907 85.59616 136.533333 47.261013 60.388693-48.837973 71.417173-164.365653 23.104853-233.683627-12.60544-17.855147-57.238187-46.73536-71.417173-46.209707C393.847467 32.034133 381.76768 35.18464 370.21696 39.38304L370.21696 39.38304zM652.731733 61.44c-19.954347 4.201813-66.69312 50.937173-81.394347 81.394347C546.133333 194.297173 547.188053 259.938987 573.965653 300.373333c23.630507 35.18464 76.66688 49.885867 118.152533 32.556373 55.66464-23.104853 98.198187-108.17536 85.067093-168.0384C761.9584 98.198187 704.201387 50.41152 652.731733 61.44zM149.661013 259.938987c-27.83232 9.45152-58.289493 44.63616-68.79232 78.24384-21.005653 68.79232-13.12768 124.9792 23.630507 166.990507 26.784427 29.934933 44.63616 37.809493 84.022613 34.658987 42.007893-3.15392 68.79232-21.53472 88.221013-61.44 12.602027-25.207467 14.178987-35.18464 14.178987-76.670293 0-37.809493-2.102613-51.462827-11.554133-68.79232-17.329493-33.60768-35.70688-52.51072-65.11616-67.21536C183.268693 249.961813 178.54464 249.961813 149.661013 259.938987zM783.489707 333.981013c-39.38304 19.954347-58.80832 64.590507-58.80832 135.482027 0 52.514133 6.826667 77.195947 26.781013 100.3008 22.053547 25.21088 54.613333 36.232533 96.098987 33.082027 38.32832-3.15392 58.80832-13.653333 75.615573-37.809493 17.32608-25.204053 22.053547-47.264427 22.053547-100.82304 0-42.53696-1.573547-51.462827-14.70464-76.14464-21.527893-40.96-49.360213-59.337387-94.522027-61.44C810.796373 325.5808 796.091733 327.68 783.489707 333.981013L783.489707 333.981013zM446.358187 436.381013c-34.658987 15.755947-55.138987 33.082027-78.24384 66.69312-30.982827 45.1584-59.86304 76.141227-122.88 130.75456-95.573333 82.445653-115.52768 113.42848-116.053333 177.493333-1.051307 77.19936 43.584853 145.466027 106.07616 163.31776 36.232533 10.502827 130.23232 7.877973 200.598187-6.304427 54.613333-10.499413 109.226667-7.87456 175.919787 8.932693 67.21536 16.800427 141.786453 16.800427 180.1216 0 72.465067-32.559787 109.75232-131.812693 79.291733-213.732693-8.400213-22.575787-18.906453-36.758187-43.0592-59.333973-75.615573-69.84704-161.211733-158.068053-188.5184-194.82624-30.457173-40.96-61.965653-67.741013-92.945067-77.718187C518.826667 422.202027 473.1392 424.30464 446.358187 436.381013zM462.114133 582.894933c6.826667 4.1984 7.87456 29.405867 9.45152 162.788693l1.573547 157.535573-62.487893 0c-76.670293 0-106.601813-7.87456-133.382827-35.181227C252.586667 842.830507 246.811307 826.55232 246.811307 785.066667c0-40.434347 5.77536-57.76384 27.83232-80.34304 27.828907-29.40928 49.885867-37.809493 98.198187-37.809493l42.007893 0L414.849707 577.6384l19.95776 0C445.310293 577.6384 457.91232 580.266667 462.114133 582.894933L462.114133 582.894933zM567.138987 749.356373c0 95.573333 0.525653 96.095573 56.18688 96.095573l38.331733 0 0-168.034987 64.068267 0L723.626667 777.714347c-2.0992 127.081813 3.150507 120.255147-94.518613 120.255147-73.519787 0-88.746667-4.201813-108.704427-29.405867-9.980587-13.131093-11.02848-20.48-11.02848-101.87776 0-48.308907 1.573547-89.268907 3.67616-90.845867 1.573547-2.0992 14.701227-3.67616 28.880213-3.67616l25.207467 0L567.138987 749.356373 567.138987 749.356373zM337.13152 724.681387c-29.405867 17.84832-39.908693 56.70912-25.204053 91.89376 10.502827 24.159573 33.082027 35.18464 70.365867 33.082027l29.93152-1.573547L412.224853 716.8l-28.880213-1.57696C361.813333 714.171733 350.2592 716.8 337.13152 724.681387z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //taobao
                    if (!empty(Ashade_Core::get_mod('ashade-socials-flickr-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--flickr" href="' . Ashade_Core::get_mod('ashade-socials-flickr-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-flickr-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path d="M369.752747 176.790187c-19.84512 55.37792-48.45568 112.254293-75.567787 150.326613-11.65312 16.267947-20.189867 26.4192-34.495147 41.07264l-13.73184 13.960533 40.034987 22.842027 39.918933 22.729387 8.6528-8.420693c10.499413-10.38336 34.495147-37.034667 46.26432-51.456l8.6528-10.615467 23.302827-9.806507c12.806827-5.423787 24.692053-10.38336 26.422613-11.076267l3.11296-1.153707-4.266667 7.847253c-23.074133 41.53344-53.99552 87.565653-76.721493 113.984853-5.07904 5.884587-9.117013 11.076267-9.00096 11.537067 0 0.576853 10.84416 10.38336 24.111787 21.804373l23.999147 20.770133-25.265493 0.344747-25.268907 0.228693 0 57.688747 162.676053 0 0 137.632427-10.615467-0.805547c-23.074133-1.727147-40.379733-7.727787-48.45568-16.612693-9.46176-10.496-11.997867-29.187413-8.536747-61.83936 1.037653-9.458347 1.8432-19.145387 1.8432-21.572267l0-4.49536L390.519467 601.705813c-45.45536 0-56.763733 0.344747-58.494293 1.49504-3.11296 2.307413-5.075627 16.151893-5.884587 41.188693-0.9216 24.22784 0.464213 38.99392 4.962987 56.989013 11.188907 44.42112 37.956267 71.072427 81.104213 80.759467 10.154667 2.194773 14.19264 2.42688 54.801067 2.307413 33.460907 0 47.99488-0.4608 61.494613-1.95584 75.44832-8.54016 136.482133-28.84608 184.70912-61.610667 6.690133-4.498773 12.57472-7.959893 12.919467-7.499093 0.464213 0.4608 4.154027 13.725013 8.424107 29.65504 4.27008 15.80032 7.847253 28.955307 8.075947 29.187413 0.228693 0.232107 21.11488-8.192 46.380373-18.691413 29.764267-12.342613 45.912747-19.6096 45.687467-20.538027-0.34816-1.846613-61.146453-151.135573-61.83936-151.712427-0.4608-0.4608-74.30144 22.03648-75.106987 22.961493-0.232107 0.228693 2.65216 11.76576 6.46144 25.726293 3.693227 13.960533 6.806187 25.726293 6.806187 26.30656 0 1.3824-18.230613 12.806827-29.88032 18.691413-8.6528 4.266667-32.768 14.421333-34.379093 14.421333-0.228693 0-0.34816-26.996053-0.34816-59.989333l0-59.992747 159.214933 0 0-57.688747-159.214933 0 0-71.529813 160.365227 0 0-57.685333L522.8544 382.501547l6.341973-7.84384c16.728747-20.76672 36.109653-51.688107 33.918293-53.99552-0.344747-0.344747-10.151253-3.11296-21.804373-6.229333-11.65312-3.229013-22.268587-6.229333-23.538347-6.690133-3.693227-1.614507 58.262187-21.57568 96.914773-31.266133 70.95296-17.650347 126.214827-20.421973 164.4032-8.075947 14.998187 4.959573 25.14944 11.19232 36.34176 22.381227 8.533333 8.424107 11.421013 12.229973 15.22688 20.189867 5.884587 11.997867 9.00096 23.074133 10.73152 37.843627 0.925013 7.84384 1.153707 66.454187 0.925013 194.054827l-0.34816 182.862507-3.2256 10.267307c-5.888 18.694827-12.346027 29.53216-24.347307 40.727893-17.65376 16.612693-41.765547 24.572587-74.06592 24.572587-12.806827 0-16.728747-0.576853-48.459093-7.499093-18.920107-4.037973-34.839893-7.038293-35.188053-6.577493-0.9216 0.925013-16.032427 61.83936-16.032427 64.262827 0 1.962667 3.805867 3.116373 25.381547 7.499093 34.614613 7.038293 50.991787 8.533333 92.296533 8.6528 41.188693 0 50.9952-0.925013 77.755733-7.734613 75.5712-19.032747 119.985493-69.451093 129.792-147.438933 4.041387-31.8464 7.734613-83.991893 9.46176-133.833387 2.884267-81.79712-2.19136-175.363413-12.92288-239.9744-3.918507-23.302827-9.690453-38.07232-21.68832-55.02976-45.919573-65.071787-147.677867-92.183893-286.81216-76.4928-51.920213 5.884587-120.91392 19.729067-176.288427 35.304107-5.65248 1.614507-10.499413 2.65216-10.84416 2.307413-0.232107-0.232107 2.884267-6.693547 6.92224-14.19264 11.881813-21.456213 20.882773-40.72448 19.729067-41.762133-1.037653-0.925013-113.179307-32.41984-115.258027-32.41984C377.596587 156.368213 373.674667 165.597867 369.752747 176.790187L369.752747 176.790187zM512.58368 475.94496l0 35.764907-110.987947 0 34.955947-35.648853 35.072-35.764907 20.538027 0 20.421973-0.116053L512.58368 475.94496zM190.81216 170.328747c-31.266133 6.11328-56.992427 28.726613-64.146773 56.415573-3.00032 11.421013-2.53952 26.190507 1.037653 37.61152 16.500053 51.572053 85.835093 71.529813 132.79232 37.956267 19.84512-14.073173 31.034027-35.072 31.034027-58.262187 0-19.380907-6.690133-35.188053-21.22752-49.72544-12.342613-12.458667-26.074453-19.841707-43.264-23.534933C218.269013 168.942933 199.00416 168.71424 190.81216 170.328747zM112.820907 388.379307c-13.960533 21.57568-25.4976 39.80288-25.729707 40.61184-0.11264 0.805547 21.346987 14.882133 47.88224 31.266133 63.68256 39.570773 59.76064 36.80256 69.567147 46.72512 27.22816 27.3408 27.460267 58.37824 1.037653 97.027413-21.804373 31.842987-77.06624 91.603627-134.98368 146.059947-12.690773 11.881813-22.842027 22.03648-22.729387 22.613333 0.464213 1.153707 124.13952 78.219947 125.641387 78.219947 0.576853 0 2.075307-2.19136 3.229013-4.959573 4.614827-10.499413 35.536213-76.4928 58.149547-123.798187 13.03552-27.22816 25.842347-55.033173 28.494507-61.719893 11.997867-29.999787 26.30656-78.800213 30.22848-103.140693 0.805547-5.07904 1.3824-17.54112 1.26976-27.692373 0-14.998187-0.464213-20.186453-2.53952-27.685547-3.00032-11.424427-8.997547-24.1152-15.57504-33.344853-6.577493-9.229653-47.99488-49.72544-66.914987-65.529173-14.769493-12.346027-67.375787-52.381013-70.147413-53.418667C138.779307 349.269333 128.512 364.151467 112.820907 388.379307L112.820907 388.379307z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //github
                    if (!empty(Ashade_Core::get_mod('ashade-socials-vk-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--vk" href="' . Ashade_Core::get_mod('ashade-socials-vk-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-vk-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path d="M512 12.64c-282.752 0-512 229.216-512 512 0 226.208 146.72 418.144 350.144 485.824 25.6 4.736 35.008-11.104 35.008-24.64 0-12.192-0.48-52.544-0.704-95.328-142.464 30.976-172.512-60.416-172.512-60.416-23.296-59.168-56.832-74.912-56.832-74.912-46.464-31.776 3.52-31.136 3.52-31.136 51.392 3.616 78.464 52.768 78.464 52.768 45.664 78.272 119.776 55.648 148.992 42.56 4.576-33.088 17.856-55.68 32.512-68.48-113.728-12.928-233.28-56.864-233.28-253.024 0-55.904 20-101.568 52.768-137.44-5.312-12.896-22.848-64.96 4.96-135.488 0 0 43.008-13.76 140.832 52.48 40.832-11.36 84.64-17.024 128.16-17.248 43.488 0.192 87.328 5.888 128.256 17.248 97.728-66.24 140.64-52.48 140.64-52.48 27.872 70.528 10.336 122.592 5.024 135.488 32.832 35.84 52.704 81.536 52.704 137.44 0 196.64-119.776 239.936-233.792 252.64 18.368 15.904 34.72 47.04 34.72 94.816 0 68.512-0.608 123.648-0.608 140.512 0 13.632 9.216 29.6 35.168 24.576 203.328-67.776 349.856-259.616 349.856-485.76 0-282.784-229.248-512-512-512z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //renren
                    if (!empty(Ashade_Core::get_mod('ashade-socials-dribbble-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--dribbble" href="' . Ashade_Core::get_mod('ashade-socials-dribbble-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-dribbble-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="200px" height="200px" viewBox="0 0 1024 1024" version="1.1">
                                    <path d="M425.216 10.624C184 51.2 0 261.056 0 513.792a509.44 509.44 0 0 0 120.768 329.6c178.624-86.4 303.616-281.984 304.384-509.824V10.56zM598.784 10.624C840 51.2 1024 261.056 1024 513.792a509.44 509.44 0 0 1-120.768 329.6c-178.624-86.4-303.616-281.984-304.384-509.824V10.56zM510.208 642.624c-31.808 131.584-126.784 244.032-244.992 318.784 72.832 39.808 156.224 62.592 244.992 62.592s172.224-22.784 244.992-62.592c-118.208-74.816-213.184-187.2-244.992-318.784z"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //twitter
                    if (!empty(Ashade_Core::get_mod('ashade-socials-vimeo-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--vimeo" href="' . Ashade_Core::get_mod('ashade-socials-vimeo-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-vimeo-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
                                    <path id="twitter-square"
                                          d="M89.286,32H10.714A10.717,10.717,0,0,0,0,42.714v78.571A10.717,10.717,0,0,0,10.714,132H89.286A10.717,10.717,0,0,0,100,121.286V42.714A10.717,10.717,0,0,0,89.286,32ZM78.371,67.446c.045.625.045,1.272.045,1.9C78.415,88.7,63.683,111,36.763,111a41.46,41.46,0,0,1-22.478-6.562,30.842,30.842,0,0,0,3.527.179,29.351,29.351,0,0,0,18.17-6.25A14.659,14.659,0,0,1,22.3,88.205a15.778,15.778,0,0,0,6.607-.268A14.641,14.641,0,0,1,17.188,73.563v-.179a14.63,14.63,0,0,0,6.607,1.853,14.609,14.609,0,0,1-6.518-12.187,14.457,14.457,0,0,1,1.987-7.388A41.568,41.568,0,0,0,49.442,70.973,14.671,14.671,0,0,1,74.42,57.6a28.687,28.687,0,0,0,9.286-3.527,14.6,14.6,0,0,1-6.429,8.058,29.133,29.133,0,0,0,8.438-2.277A30.814,30.814,0,0,1,78.371,67.446Z"
                                          transform="translate(0 -32)" fill="#000"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //facebook
                    if (!empty(Ashade_Core::get_mod('ashade-socials-500px-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--500px" href="' . Ashade_Core::get_mod('ashade-socials-500px-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-500px-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
                                    <path id="facebook-square"
                                          d="M89.286,32H10.714A10.714,10.714,0,0,0,0,42.714v78.571A10.714,10.714,0,0,0,10.714,132H41.35V98H27.288V82H41.35V69.8c0-13.873,8.259-21.536,20.908-21.536a85.193,85.193,0,0,1,12.393,1.08V62.964h-6.98c-6.877,0-9.022,4.268-9.022,8.645V82H74L71.547,98H58.65v34H89.286A10.714,10.714,0,0,0,100,121.286V42.714A10.714,10.714,0,0,0,89.286,32Z"
                                          transform="translate(0 -32)" fill="#000"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    //youtube
                    if (!empty(Ashade_Core::get_mod('ashade-socials-xing-url'))) {
                        echo '
                        <li>
                            <a class="ashade-social--xing" href="' . Ashade_Core::get_mod('ashade-socials-xing-url') . '" target="' . esc_attr($target) . '">';
                        if ('text' == $socials_style) {
                            echo esc_attr(Ashade_Core::get_mod('ashade-socials-xing-label'));
                        }
                        if ('icon' == $socials_style) {
                            echo '<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
                                    <path id="youtube-square"
                                          d="M41.7,69.969l21.25,12.076L41.7,94.121ZM100,42.714v78.571A10.717,10.717,0,0,1,89.286,132H10.714A10.717,10.717,0,0,1,0,121.286V42.714A10.717,10.717,0,0,1,10.714,32H89.286A10.717,10.717,0,0,1,100,42.714ZM90.625,82.067s0-13.3-1.7-19.687a10.189,10.189,0,0,0-7.187-7.232C75.424,53.429,50,53.429,50,53.429s-25.424,0-31.741,1.719a10.189,10.189,0,0,0-7.187,7.232c-1.7,6.362-1.7,19.687-1.7,19.687s0,13.3,1.7,19.688a10.042,10.042,0,0,0,7.187,7.121c6.317,1.7,31.741,1.7,31.741,1.7s25.424,0,31.741-1.719a10.042,10.042,0,0,0,7.188-7.121c1.7-6.362,1.7-19.665,1.7-19.665Z"
                                          transform="translate(0 -32)" fill="#000"/>
                                </svg>';
                        }
                        echo '</a>
                        </li>
                        ';
                    }
                    ?>
                </ul>
            </div>
        <?php }
        if (!empty(Ashade_Core::get_mod('ashade-copyright-text'))) {
            ?>
            <div class="ashade-footer__copyright">
                <?php echo wp_specialchars_decode(Ashade_Core::get_mod('ashade-copyright-text')); ?>
            </div>
        <?php } ?>
    </div>
</footer>
